package com.kaifamiao.primary.entity;

import java.time.LocalDate;

public class Panda {

    private Integer id ;
    private String name ;
    private LocalDate birthdate ;

    public Panda(){
        super();
    }

    public Panda(String name, LocalDate birthdate) {
        super();
        this.name = name;
        this.birthdate = birthdate;
    }

    public Panda(Integer id, String name, LocalDate birthdate) {
        super();
        this.id = id;
        this.name = name;
        this.birthdate = birthdate;
    }

    @Override
    public String toString() {
        return "Panda{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", birthdate=" + birthdate +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(LocalDate birthdate) {
        this.birthdate = birthdate;
    }
}
